From: Florian Müllner Date: Wed, 18 Jul 2018 21:03:30 +0000 (+0200) Subject: build: Don't use libdir for systemd unit path X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~929^2~4^2~39 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=43e8dfacb45e470d02d3880ceb28a4494262f4c9;p=gnome-shell.git build: Don't use libdir for systemd unit path Some systems define it to /usr/lib64 on 64-bit systems, which is not where systemd looks for unit files. Just hardcode 'lib' in the install prefix until we get to use the pkg-config file. https://gitlab.gnome.org/GNOME/gnome-shell/issues/424 --- diff --git a/meson.build b/meson.build index 7e5fe3832..65f6c7f1f 100644 --- a/meson.build +++ b/meson.build @@ -64,7 +64,7 @@ plugindir = get_variable('BROWSER_PLUGIN_DIR', mozplugindir) # systemduserunitdir = systemd_dep.get_pkgconfig_variable('systemduserunitdir', # define_variable: ['prefix', prefix]) # and uncomment systemd_dep below -systemduserunitdir = join_paths(libdir, 'systemd', 'user') +systemduserunitdir = join_paths(prefix, 'lib', 'systemd', 'user') keybindings_dep = dependency('gnome-keybindings', required: false) if keybindings_dep.found()